<template>
  <div class="popup">{{ msg }}</div>
</template>

<script setup>
import { defineProps } from 'vue'
defineProps(['msg'])
</script>

<style lang="scss" scoped>
.popup {
  position: fixed;
  left: 50%;
  top: 50%;
  padding: 2rem;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 0.8rem;
  font-size: 1.5rem;
  color: #fff;
}
</style>